FlexReport for WinForms
OrderedDictionary<TKey,TValue> コンストラクタ(Int32,IEqualityComparer<TKey>)


C1.Report.4.6.2 アセンブリ > C1.Report.Util 名前空間 > OrderedDictionary<TKey,TValue> クラス > OrderedDictionary<TKey,TValue> コンストラクタ : OrderedDictionary<TKey,TValue> コンストラクタ(Int32,IEqualityComparer<TKey>)
The initial number of elements that the OrderedDictionary<TKey,TValue> collection can contain.
The System.Collections.Generic.IEqualityComparer`1 to use when comparing keys, or to use the default System.Collections.Generic.EqualityComparer`1 for the type of the key.
Initializes a new instance of the OrderedDictionary<TKey,TValue> class using the specified initial capacity and comparer.
シンタックス
'宣言
 
Public Function New( _
   ByVal capacity As System.Integer, _
   Optional ByVal comparer As System.Collections.Generic.IEqualityComparer(Of TKey) _
)
'使用法
 
Dim capacity As System.Integer
Dim comparer As System.Collections.Generic.IEqualityComparer(Of TKey)
 
Dim instance As New OrderedDictionary(Of TKey,TValue)(capacity, comparer)
public OrderedDictionary<TKey,TValue>( 
   System.int capacity,
   System.Collections.Generic.IEqualityComparer<TKey> comparer
)

パラメータ

capacity
The initial number of elements that the OrderedDictionary<TKey,TValue> collection can contain.
comparer
The System.Collections.Generic.IEqualityComparer`1 to use when comparing keys, or to use the default System.Collections.Generic.EqualityComparer`1 for the type of the key.
例外
例外解説
capacity is less than 0.
参照

参照

OrderedDictionary<TKey,TValue> クラス
OrderedDictionary<TKey,TValue> メンバ
オーバーロード一覧